Don't allow "$this" as function return type

Closes #19