Added initial functionality for custom achievements.