Move metadata definitions of answer entity to its class.