Adding various activity enhancements to allow a bit of SQL execution (this will later be replaced with strongly typed data).