Wrapper and auxilliary functions for maps package to work with