Undone last commit
For some reason getMethod is returning NULL. Still don't know why