Issue 92: Fixed bug where param was used instead of class instance.