Implement __def and def