Filter out unnecessary parameters from request