Added prompt hook and prefixed fcts.