Added Guard support to gem generation.