Removed unused imports
Made boolean final
Formatted request delete allowed part