Check if aspect is defined, remove debug statement