Deprecate index

Prints a pragma message with recommendation to switch to UDA every time 'index' method is used without @path

Will submit pull request which removes all special handling after next release is made.