Moved access denied check to base class.