add static method for schema.