Throw callable type errors when applicable when compiling entity relations