Add nested class for module