better string representations and error messages in Profile class