Added range generation to the module api