Add a code filter for module loop