Fixed an issue where the parent class had the same name declaration as a child.