Separate data endpoints into own object.