Add predefined material function.