Substituting FunctionalInterfaces for Serializable FunctionalInterfaces.