Merge different get* funcs into one