Fixed #13: Public inheritance

Code compiles now.