added initial suppot for [After*] and [Before*] metadata