Added variable type for endpoints.