Changed into  delegation from inheritance.