Add as a schema plugin; remove prototype method