Export module properly