[opf] removing class and metadata params from mapping methods.