Tested open classes and fixed inheritance issue.