Remove final from getSerializer()