use vars() instead of __dict__
explicit tuple
added __slots__ attribute for classes created by Handler.provider decorator