use Moose::Role ();
use Moose::Exporter;
-Moose::Exporter->setup_import_methods;
+Moose::Exporter->setup_import_methods(
+ with_caller => ['parameter'],
+);
+
+sub parameter {
+ my $caller = shift;
+ $caller->meta->add_parameter(@_);
+}
sub init_meta {
my $self = shift;