Writing specs for 3rd party declaratives