Add some filters and allow the transient expiration to be set