Trying to make inheritance to work.