Added rake task creation method.