Renames the getContext function to make it more concise