updated module so not to use inherits function

Signed-off-by: Warren Clarke <wclarke1@gmail.com>