Added request type checker