Created a workaround for the inheritance