Fix bug so instance_methods of bridged classes acts correctly