Add more structure to p-adic L-function code