Changed API to get the actual code object