How to create a bean bundle programatically I don't want to use features. ;)

This is my code:


  beanform.info


name = Bean form
description = Configure beans blocks to print forms into it.
core = 7.x
files[] = "plugins/BeanForm.class.php"
package = "Bean"
dependencies[] = "bean" 



  beanform.module


&lt;?php
/**
 * @file
 * beanform module file to store the hooks.
 */

/**
 * Implements hook_bean_types_api_info()
 */
function beanform_bean_types_api_info() {
 return array('api' =&gt; 4);
}

/**
 * Implements hook_bean_types()
 */
function beanform_bean_types() {
  $plugins = array();
  $plugin_path = drupal_get_path('module', 'beanform') . '/plugins/bean';
  $plugins['bean_form'] = array(
    'name' =&gt; 'bean_form',
    'label' =&gt; t('Bean form'),
    'description' =&gt; t('Choose a form to print into a bean'),
    'handler' =&gt; array(
      'class' =&gt; 'BeanForm',
      'parent' =&gt; 'bean',
      // 'path' =&gt; $plugin_path,
      // 'file' =&gt; 'BeanForm.inc',
    ),
    'path' =&gt; $plugin_path,
    'file' =&gt; 'BeanForm.inc',
  );


  kpr ($plugins);

  return $plugins;
}

/**
 * Implements hook_theme()
 */
function beanform_theme(){
  $items = array();
  $items ['theme_bean_form'] = array(
    'arguments' =&gt; array(
      'form' =&gt; NULL,
    ),
    'template' =&gt; 'templates/bean-form',
    'file' =&gt; 'beanform.theme.inc',
  );

  return $items;
}

?&gt;


But When I go to /admin/structure/block-types I don't see my bean.

I don't find the problem, and I'm checking bean_examples and bean_twitter_pull to see how it should be done.

Thanks

Oskar
With bean modules it's required that if you use "name" attribute  is the same name that the $plugins key.

In my case 

'name' =&gt; 'beanform'


The beast options is not use it, it's no a required attribute.

Oskar

my actual code:

  $plugins['beanform'] = array(
'name' =&gt; 'beanform',
'label' =&gt; t('Bean form'),
'description' =&gt; t('Choose a form to print into a bean'),
'handler' =&gt; array(
  'class' =&gt; 'BeanForm',
  'parent' =&gt; 'bean',
  'path' =&gt; $plugin_path,
  'file' =&gt; 'Beanorm.inc',
),
//   'path' =&gt; $plugin_path,
//   'file' =&gt; 'BeanForm.inc',
   'editable' =&gt; TRUE,
  );