Call to an undefined method causing an error.