Added toString
Fixed bug where type was being used by Moxy