Removing unused errorclass property