Revert commit 73723cdbc8

* Causing issues with virtual attributes and error messages (#277)
* Will need to come up with another solution than adding a check for setting an
attribute correctly.