Resolved problem with abstract class.