added allowed and blocked_methods options