hack to make class methods to show up as a document field