Removing error from _classes object