refactor Schema's 'statics' method