Handle parametrized beans

Related to #103