Allows schema_info attributes to be procs or callables and fixes a mistake