The non inheritance class was changed to the class of inheriting the object, and added the encoding magic comment to each file.