Think there might be a typo in your first example.
"#element{.boxRadius(radius);}" and the box below it references ".borderRadius(radius)"; is it both?
"#element{.boxRadius(radius);}" and the box below it references ".borderRadius(radius)"; is it both?