Fix logic in IndexProperties hook
Add missing use arg to closure
Missing @return
Wrong var name
Add types to @property annotations