Added module loaded event