Implemented door stuff.