Better error message.

Also adds note for out of place function.