Minor additions to the door plugin