Added check for get function.