Fixed call to method_exists (#6)