Implemented method_exists() and property_exists()