Adding options to namespace function