Add protection support to doors
Remove trailing whitespace from doors