Remove unnecessary require
Fix private attribute warnings