Moved some content to inheritance.