Allow procs to be used when permitting parameters

Allows for a way for users to define parameters permitted for polymorphic relations