Improve link methods a little
Created by: NotSpecial
Currently I am using the database hooks for convenience, since I do not need to parse the response data to add link methods.
Because of this they rely on information that may change in later hook (although improbable) I think I can rewrite it to not only look clearer but not need to do that anymore.
WIP, but not critical since the output wont change.