[resolves #23] Allow handler definition to contain static function that will be bound to the store instance