Fixed typo in directory plug

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Updated component import signature

Signed-off-by: Tom Wright <tom@inflatablecookie.com>