Fix undefined method name