add NamedParamInterface::attachParamProvider() interface
fix use statement and docblocs