Add deadline functionality to grants