fixed some build errors (methods again, yeah!)