Added errorFormat and propFormat methods
Fixed issue with formatting arguments into error messages