view function calls

Added context and request to view function calls.