Annotate and divide the prompt.build method.