Only permit usage on classes
Add test cases for project