Fixed prototype inheritance mess mess :)