Added post and pre extensions.