Fixing set hook parsing.