Beat butter and sugar with an electric mixer until light and fluffy. With beaters on medium speed, add vanilla, then add eggs one at a time, beating well after each addition. Pour in cooled chocolate and beat until well combined. Beat in a third of sifted ingredients, followed by a third of the milk. Repeat until all ingredients are incorporated, beating until smooth.