Fixed Codescope Issue

The Codescope Element interface was implemented in a very awkward way.
This implementation has now been fixed so that the element functions
like all the other elements do.