Removing unused attributes and changing the exception message